<template>
    <div>
        about page
        dev test
       count: {{ countStore.count }}
       double count: {{ countStore.doubleCount }}
       <button @click="countStore.increment">+</button>
    </div>
  </template>
  
  <script lang="ts" setup name="About">
    // 页面逻辑代码
    import { useRoute } from 'vue-router'
    import { useCountStore } from '@/store/count'


    const countStore = useCountStore()
    console.log(countStore)
    console.log(countStore.count)
    

    const route = useRoute()
    // const { id } = route.query
    // console.log(id)

    const id = route.params.id
    console.log(id)
  </script>
  
  <style>
  /* 页面样式 */
  </style>
  